package com.xxxx.service;

import com.xxxx.pojo.Door;

import java.util.List;

/**
 * Created By ShaoXikai on 2022/7/23
 */
public interface DoorService {

    List<Door> findAll();

    Door findById(Long id);

    Door findByName(String name);

    int modify(Door door);

    int save(Door door);

    int remove(Long id);

}
